package com.b2c.oa.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
public class HomeController {
    private static Logger log = LoggerFactory.getLogger(HomeController.class);


    @RequestMapping("/")
    public String home(Model model) throws Exception {
        model.addAttribute("menuId", "home");
//        messageForTao();
//        messageForPdd();
        return "home_m";
    }

    @RequestMapping("/pc")
    public String homePC(Model model) throws Exception {
        model.addAttribute("menuId", "home");
//        messageForTao();
//        messageForPdd();
        return "home";
    }
}
